From f7b633e6e8d6d5edf67463ff486aab8ca9e2cbc3 Mon Sep 17 00:00:00 2001 From: "iap10@labyrinth.cl.cam.ac.uk" Date: Sat, 5 Feb 2005 09:05:43 +0000 Subject: [PATCH] bitkeeper revision 1.1159.223.64 (42048c67tDD9EILuuYdpEx-vM6LTnw) Name: tools-misc-TARGETS.patch Description: Split compile/link stages distcc behaves much better when you compile and link in 2 separate steps. Plus, this is a more standard way of doing things. Signed-off-by: Adam Heath Signed-off-by: ian.pratt@cl.cam.ac.uk --- tools/misc/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/misc/Makefile b/tools/misc/Makefile index 4cfc16f58e..39bfc424e6 100644 --- a/tools/misc/Makefile +++ b/tools/misc/Makefile @@ -34,5 +34,8 @@ clean: $(RM) *.o $(TARGETS) *~ $(MAKE) -C miniterm clean -%: %.c $(HDRS) Makefile +%.o: %.c $(HDRS) Makefile + $(CC) -c $(CFLAGS) -o $@ $< + +$(TARGETS): %: %.o Makefile $(CC) $(CFLAGS) -o $@ $< -L$(XEN_LIBXC) -lxc -L$(XEN_LIBXUTIL) -lxutil -- 2.30.2